package com.qingcheng.pojo.comment;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "tb_reply")
public class Reply implements Serializable {
    @Id
    private String Id;
    private String commentId;
    private String username;
    private String content;
    private Date createTime;

    public Reply() {
    }

    public Reply(String id, String commentId, String username, String content, Date createTime) {
        Id = id;
        this.commentId = commentId;
        this.username = username;
        this.content = content;
        this.createTime = createTime;
    }

    public String getId() {
        return Id;
    }

    public void setId(String id) {
        Id = id;
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
